Fix todo-mode item insertion bug (bug#70937)
authorStephen Berman <stephen.berman@gmx.net>
Tue, 21 May 2024 09:04:17 +0000 (11:04 +0200)
committerStephen Berman <stephen.berman@gmx.net>
Tue, 21 May 2024 09:04:17 +0000 (11:04 +0200)
commit7f80070232a5c010ae18de9fd8803a66623c074b
tree2015a34bb12878917e5d02b0b064a60fb27b39f8
parentd00eb1c90253d2a353d3e9730df37fdd81c2a3d2
Fix todo-mode item insertion bug (bug#70937)

* lisp/calendar/todo-mode.el (todo-insert-item--next-param):
Initially assign each key in todo-mode-map a function identifying
it as invalid for item insertion, thus preventing mistakenly
pressing a key from executing an unwanted different todo-mode
command; the actual item insertion keys are redefined when looping
over the item insertion parameters.
lisp/calendar/todo-mode.el